// app.js
// API的promise化
import {promisifyAll} from 'miniprogram-api-promise'
const wxp = wx.p = {}
promisifyAll(wx,wxp)
wx.root = 'http://101.35.235.36:3000'
App({
  onLaunch() {
    // const backgroundAudioManager = wx.getBackgroundAudioManager()    
    // backgroundAudioManager.title = '此时此刻'
    // backgroundAudioManager.epname = '此时此刻'
    // backgroundAudioManager.singer = '许巍'
    // backgroundAudioManager.src="http://m7.music.126.net/20220409101531/16365945eb83f58fcfc22784da77c18d/ymusic/obj/w5zDlMODwrDDiGjCn8Ky/3761546618/16ac/7c05/388d/a9211ae961d5c2c54b422e2544c99730.mp3"
  },
  globalData: {
    userInfo: null
  }
})
